mistral

Mistral: Mistral Tiny Latest

models/Mistral Tiny Latest

Note: This model is being deprecated. Recommended replacement is the newer [Ministral 8B](/mistral/ministral 8b) This model is currently powered by Mistral 7B v0.2, and incorporates a "better" fine tuning than [Mistral 7B](/models/mistralai/mistral 7b instruct v0.1), inspired by community work. It's best used for large batch processing tasks where cost is a significant factor but reasoning capabilities are not crucial.
Currency$USD
Input$0.25
Output$0.25
Context window32.8K

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configmistral/mistral-tiny-latest
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="mistral/mistral-tiny-latest",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])